package com.team.teamproject.ui.hot;

import com.team.teamproject.bean.HotRecommend;
import com.team.teamproject.bean.Hotdetails;

import retrofit2.http.GET;
import retrofit2.http.Path;
import retrofit2.http.Query;
import rx.Observable;

/**
 * Created by Administrator on 2016/11/8.
 */

public interface HotDetails {
    //http://api.liwushuo.com/v2/items/id
   @GET("v2/items/{id}")
    Observable<Hotdetails> searchDetails(@Path("id") String id);


    //http://api.liwushuo.com/v2/items/id/recommend?num=20&post_num=5   猜你喜欢

    @GET("items/{id}/recommend?num=20&post_num=5 ")
       Observable<HotRecommend> searchRecommend(@Path("id") String id);
}
